import 'package:flutter/material.dart';
import 'package:model_viewer_plus/model_viewer_plus.dart';

class Model3DViewer extends StatelessWidget {
  const Model3DViewer({super.key});

  @override
  Widget build(BuildContext context) {
    return  const ModelViewer(
      backgroundColor: Colors.black12,
      src: 'assets/models/model.glb',
      alt: 'A 3D model of an astronaut',
      ar: true,
      autoRotate: true,
    );
  }
}
